package com.acme;

import com.acme.bankapp.domain.account.CheckingAccount;
import com.acme.bankapp.domain.account.SavingAccount;
import com.acme.bankapp.domain.bank.Bank;
import com.acme.bankapp.domain.bank.Client;
import com.acme.bankapp.service.bank.BankService;
import com.acme.bankapp.service.bank.Gender;

public class BankApplication {
	public void modifyBank(Bank bank){
		bank.getClient(0).getAcc().deposit(69.33);
	}
	public static void main(String[] args) {
		Bank bank=new Bank();
		BankService	bankserv=new BankService();
		Client cl1=new Client(new SavingAccount(200.60),"Petrov",Gender.MALE,45);
		Client cl2=new Client(new CheckingAccount(200.60,100),"Petrova",Gender.FEMALE,45);
		bankserv.addClient(bank,cl1);
		bankserv.addClient(bank,cl2);
		//bankserv.printMaximumAmountToWithdraw(bank);
	}

}
